﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BLToolkit;
using BLToolkit.Mapping;
using BLToolkit.DataAccess;
namespace Entities.PBKT
{
    [TableName("ChiTietTranDau")]
    public class ChiTietTranDau
    {
        [MapField("MaLichTD"),PrimaryKey]
        public String MaLichThiDau { get; set; }
        [MapField("MaNguoiTG"), PrimaryKey]
        public String MaNguoiTG { get; set; }
        public int HinhThuc { get; set; }
        public int SoLuong { get; set; }
        [Association(OtherKey="IdGiaiDau", ThisKey="MaGD")]
        public GiaiDau GiaiDaus { get; set; }
    }
}
